We still need to respect this border value even when we're not running
under CSD, since we support setting a custom titlebar in all cases.
The border/style magic in gtk_window_draw() really needs to be separated
out into logical pieces soon, but for now let's keep a consistent
behavior with the previous code.
if (priv->client_decorated)
get_decoration_borders (widget, &title_border, &inner_border, &outer_border);
+ else if (priv->title_box != NULL)
+ get_decoration_borders (widget, &title_border, NULL, NULL);
if (!gtk_widget_get_app_paintable (widget) &&
gtk_cairo_should_draw_window (cr, gtk_widget_get_window (widget)))